import service from "@/utils/request"

export function getCodeApi (data) {
    return service.request({
        method: "post",
        url: "/getCode/",
        data
    })
}


// http 状态码异常演示接口
export function errorHttpApi (data) {
    return service.request({
        method: "post",
        url: "/error/",
        data
    })
}